package com.rightsidetech.system.service;

import com.github.pagehelper.PageInfo;
import com.rightsidetech.commom.base.PageRequest;
import com.rightsidetech.commom.base.ResponseData;
import com.rightsidetech.commom.service.IService;
import com.rightsidetech.system.dtos.request.store.AddStoreGradeReq;
import com.rightsidetech.system.dtos.request.store.UpdateStoreGradeReq;
import com.rightsidetech.system.dtos.response.store.StoreGradeResp;
import com.rightsidetech.system.entity.store.SysStoreGrade;

/**
 * @Package: com.rightsidetech.system.service
 * @ClassName: SysStoreGradeService
 * @Author: yinj
 * @CreateTime: 2021/10/21 14:00
 */
public interface SysStoreGradeService extends IService<SysStoreGrade,Long> {

    ResponseData<PageInfo<StoreGradeResp>> page(PageRequest request);

    ResponseData add(AddStoreGradeReq req, Long loginInfoId);

    ResponseData update(UpdateStoreGradeReq req, Long loginInfoId);

    ResponseData del(UpdateStoreGradeReq req, Long loginInfoId);
}
